<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/temporary_goods.css" />
    <title>临采商品</title>
</head>
<body data-id="">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 客户管理 <span class="c-gray en">&gt;</span> 客户组 </nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-search">
        <div class="bg-1 bk-gray pb-10">
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table ml-20">
                    <tr>
                        <td class="col-4-1" >
                            <div class="row">
                                <label class="form-label f-l text-r lh-26">临采SKU编码：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-150" id="skuCode" placeholder="请输入SKU编码" oninput="checkMaxIut(this)" autocomplete="off" maxlength="20">
                                </div>
                            </div>
                            <div class="row">
                                <label class="form-label f-l text-r  lh-26" style="margin-left: 30px">临采SKU名称：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-150"  id="skuName" placeholder="请输入临采SKU名称">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                            <div class="row" style="width: 700px">
                                <div style="display: inline-block">
                                    <input type="button"  class="btn btn-secondary radius size-S "  onclick="search()" value="查询">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-4-1 pb-20 pt-10">
                            <div class="text-c" style="width: 690px">
                                <div style="display: inline-block">
                                    <input type="button" style="margin-right: 5px" class="btn btn-secondary radius size-S " value="新增" onclick="addData()">
                                    <input id="fileUp" type="file"
                                           onchange="Imports()" style="display: none">&nbsp;&nbsp;
                                    </input>
                                    <input type="button"  class="btn btn-secondary radius size-S "  onclick="importExcel()" value="导入" id="importData">
                                </div>
                                <div  style="display: inline-block;margin-left: 8px">
                                    <a  onclick="errorvalue()" id="errorvalue">失败信息下载</a>
                                </div>
                                <div  style="display: inline-block;margin-left: 8px">
                                    <a  onclick="downLoadModel()" id="down_load">下载模板</a>
                                </div>
                            </div>

                        </td>
                    </tr>
                </table>
                <table  class="table table-border table-bg  table-hover table-sort mt-10" id="templists">
                    <thead>
                    <tr>
                        <th>选择 <input type="checkbox" id="selectAll"></th>
                        <th>临采SKU编码</th>
                        <th>临采SKU名称</th>
                        <th>临采SKU单位</th>
                        <th>操作时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody class="bodyTable">
                    </tbody>
                </table>
                <div class="text-l pt-10 pb-20">
                    <input type="button"  class="btn btn-secondary radius size-S "  value="批量删除" onclick="modifyCancel()">
                    <!--<input type="button"  class="btn btn-secondary radius size-S " value="导出">-->
                </div>
                <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                    <div class="f-r pageturning M-box4"></div>
                </div>
            </div>
        </div>
          <!-- 导入信息失败弹层 -->
         <div id="tipmessage" style="display:none ;position: absolute; left:50%;top:50%; width: 260px;height: 80px; transform: translate(-50%,-50%);border:1px solid #ddd;background-color:white;border-radius:8px;padding: 20px">
            <div>
                <span style="font-size: 14px;color:#333333">导入成功 :</span>
                <span style="font-size: 14px;color:#333333" id="successnum">0</span>
            </div>
             <div>
                 <span style="font-size: 14px;color:#333333">导入失败 :</span>
                 <span style="font-size: 14px; color:#333333" id="errornum">0</span>
             </div>
         </div>
        <!-- 单个商品的添加弹窗-->
        <div id="temp-goods"  class="modal fade"  tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="ture" style="border-radius: 8px;">
            <div class="modal-dialog">
                <div class="modal-content radius" style="height:733px;width:900px;overflow-y: auto;overflow-x: hidden; margin-left: -30%">
                    <div class="modal-header"  >
                        <h3 class="modal-title"><b class="addressTitle">选择商品</b></h3>
                        <a class="close"  style="margin-right: 5px;width: 22px;height: 22px;margin-top: 5px" data-dismiss="modal" aria-hidden="true" >×</a>
                    </div>
                    <input type="hidden" class="ship_add_id">
                    <div class="pop_win temporary_goods">
                        <div class="info">
                            <div class="clearfix">
                                <label>临采SKU编码：</label><input name="" type="text" placeholder="请输入"   id="popskuCode" class="materinfo_input" maxlength="20">
                            </div>
                            <div class="clearfix">
                                <label>临采SKU名称：</label><input name="" type="text" placeholder="请输入"  class="materinfo_input" id="popskuName">
                                <div class="etip tip_31"></div>
                            </div>
                            <div class="clearfix">
                                <input class="btn btn-primary radius material_button" type="button" onclick="popSearch()" value="查询">
                            </div>
                            <table  class="table table-border table-bg  table-hover table-sort mt-10"   id="poplists">
                                <thead>
                                <tr>
                                    <th>临采SKU编码</th>
                                    <th>临采SKU名称</th>
                                    <th>临采SKU单位</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                </tbody>
                            </table>
                            <div class="mt-40"></div>
                            <div class="dataTables_wrapper goods_fanye  mt-5">
                                <div class="f-r pageturning tabledata M-box3"></div>
                            </div>
                        </div>
                    </div>
                    <!--<div class="text-c pt-30" style="margin-top: 4px;"><a onclick="queding()" class="btn btn-secondary radius size-L">提交</a><a onclick="close_model()" class="btn radius size-L ml-10">取消</a></div>-->
                </div>
            </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../../ht-js/Customer/accountAystem/temporary_goods.js?rev=@@hash"></script>
<!--权限控制-->
<!--<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>-->
</body>
</html>